// pinia单独维护

import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

// import { useUserstore } from './modules/user
// export { useuserstore }       这两句等同下面
export * from './modules/user'
